<?php
/**
 * 查询控制器
 */
namespace app\manage\controller\admin;

use app\manage\controller\Base;

class Show extends Base
{

	public function index(){
		$params = $this->request->param();
        // 筛选参数
        $whereFields = ['page','start','end','group_id','limit'];
        // 参数数组
        $whereData = [];
        foreach($whereFields as $field):
            if(isset($params[$field]))
                $whereData[$field] = $params[$field];
        endforeach;

        // 页面信息
        $pageData = ['title'=>'管理员管理'];

        $this->assign('pageData',$pageData);
        $this->assign('whereData',$whereData);
        return view();
	}

    /**
     * 管理员用户组
     * @return [type] [description]
     */
    public function group(){
        // 页面信息
        $pageData = ['title'=>'管理员用户组'];

        $this->assign('pageData',$pageData);
        return view();
    }

    /**
     * 权限管理
     * @return [type] [description]
     */
    public function auth(){

        // 页面信息
        $pageData = ['title'=>'后台权限'];

        $this->assign('pageData',$pageData);
        return view();
    }

}